package com.service.impl;

import com.domain.Company;
import com.mapper.CompanyMapper;
import com.service.CompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("companyService")
public class CompanyServiceImpl implements CompanyService {

    @Autowired
    private CompanyMapper companyMapper;

    @Override
    public List<Company> Rec(Integer cid) {
        return companyMapper.Rec(cid);
    }

}
